package com.hst.capacity.application.fence.biz;


import com.hst.capacity.domain.model.request.fence.FenceAddParam;
import com.hst.capacity.domain.model.request.fence.FenceListParam;
import com.hst.capacity.domain.model.response.PagingResultVO;
import com.hst.capacity.domain.model.response.setting.fence.FenceInfoVO;

import java.util.List;

public interface FenceBiz {

    //sa
    FenceInfoVO save(FenceAddParam param);

    //listByCity
    PagingResultVO<FenceInfoVO> search(FenceListParam city);

    //listByCity
    List<FenceInfoVO> searchList(FenceListParam param);

    Integer newStatus(int idFence, int status);

    boolean isInFence(int idFence, String longitude, String latitude);

    boolean addressInFence(int idFence, String origins, String dest);

    boolean addressNotInFence(int idFence, String origins, String dest);

}
